<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.7"/>
<title>JSON Voorhees: Object</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script src="http://www.mathjax.org/mathjax/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">JSON Voorhees
   </div>
   <div id="projectbrief">Killer JSON for C++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.7 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__Object.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Object</div>  </div>
</div><!--header-->
<div class="contents">

<p>The base iterator type for iterating over object types.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structjsonv_1_1value_1_1basic__object__iterator.html">jsonv::value::basic_object_iterator&lt; T, TIterator &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gabf0673825595a5326e65544af770b4dd"><td class="memItemLeft" align="right" valign="top">typedef std::pair&lt; const <br class="typebreak" />
std::string, value &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#gabf0673825595a5326e65544af770b4dd">jsonv::value::object_value_type</a></td></tr>
<tr class="memdesc:gabf0673825595a5326e65544af770b4dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">The type of value stored when <code>kind</code> is <code>kind::object</code>.  <a href="#gabf0673825595a5326e65544af770b4dd">More...</a><br /></td></tr>
<tr class="separator:gabf0673825595a5326e65544af770b4dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga318c2006b4bc53859c444604995ebc05"><td class="memItemLeft" align="right" valign="top">typedef basic_object_iterator<br class="typebreak" />
&lt; object_value_type, std::map<br class="typebreak" />
&lt; std::string, value &gt;<br class="typebreak" />
::iterator &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#ga318c2006b4bc53859c444604995ebc05">jsonv::value::object_iterator</a></td></tr>
<tr class="memdesc:ga318c2006b4bc53859c444604995ebc05"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code>object_iterator</code> is applicable when <code>kind</code> is <code>kind::object</code>.  <a href="#ga318c2006b4bc53859c444604995ebc05">More...</a><br /></td></tr>
<tr class="separator:ga318c2006b4bc53859c444604995ebc05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadfdaa72edbf78da2dbf960942e946bde"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gadfdaa72edbf78da2dbf960942e946bde"></a>
typedef basic_object_iterator<br class="typebreak" />
&lt; const object_value_type, <br class="typebreak" />
std::map&lt; std::string, value &gt;<br class="typebreak" />
::const_iterator &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::const_object_iterator</b></td></tr>
<tr class="separator:gadfdaa72edbf78da2dbf960942e946bde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga39d2820f80eac817a14d5e129de46449"><td class="memItemLeft" align="right" valign="top">typedef detail::basic_view<br class="typebreak" />
&lt; object_iterator, <br class="typebreak" />
const_object_iterator &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#ga39d2820f80eac817a14d5e129de46449">jsonv::value::object_view</a></td></tr>
<tr class="memdesc:ga39d2820f80eac817a14d5e129de46449"><td class="mdescLeft">&#160;</td><td class="mdescRight">If <code>kind</code> is <code>kind::object</code>, an <code>object_view</code> allows you to access a value as an associative container.  <a href="#ga39d2820f80eac817a14d5e129de46449">More...</a><br /></td></tr>
<tr class="separator:ga39d2820f80eac817a14d5e129de46449"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f27cda168f235ef55974fa3d6a9e4e3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga8f27cda168f235ef55974fa3d6a9e4e3"></a>
typedef detail::basic_view<br class="typebreak" />
&lt; const_object_iterator &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::const_object_view</b></td></tr>
<tr class="separator:ga8f27cda168f235ef55974fa3d6a9e4e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga87b6b088b2b670634e2c9c4e66e4e1b5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga87b6b088b2b670634e2c9c4e66e4e1b5"></a>
typedef <br class="typebreak" />
detail::basic_owning_view<br class="typebreak" />
&lt; value, object_iterator, <br class="typebreak" />
const_object_iterator &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::owning_object_view</b></td></tr>
<tr class="separator:ga87b6b088b2b670634e2c9c4e66e4e1b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gacf1294913abd859ce337eac45c6d7426"><td class="memItemLeft" align="right" valign="top">object_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#gacf1294913abd859ce337eac45c6d7426">jsonv::value::begin_object</a> ()</td></tr>
<tr class="memdesc:gacf1294913abd859ce337eac45c6d7426"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an iterator to the first key-value pair in this object.  <a href="#gacf1294913abd859ce337eac45c6d7426">More...</a><br /></td></tr>
<tr class="separator:gacf1294913abd859ce337eac45c6d7426"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5998bc7c9d1c9161656eb9c1cd9f3df4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga5998bc7c9d1c9161656eb9c1cd9f3df4"></a>
const_object_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::begin_object</b> () const </td></tr>
<tr class="separator:ga5998bc7c9d1c9161656eb9c1cd9f3df4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4575cef7e4195a25eeba35a7f15b2fbd"><td class="memItemLeft" align="right" valign="top">object_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#ga4575cef7e4195a25eeba35a7f15b2fbd">jsonv::value::end_object</a> ()</td></tr>
<tr class="memdesc:ga4575cef7e4195a25eeba35a7f15b2fbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get an iterator to the one past the end of this object.  <a href="#ga4575cef7e4195a25eeba35a7f15b2fbd">More...</a><br /></td></tr>
<tr class="separator:ga4575cef7e4195a25eeba35a7f15b2fbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad599aedf17cab734644ff0785741c54c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gad599aedf17cab734644ff0785741c54c"></a>
const_object_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::end_object</b> () const </td></tr>
<tr class="separator:gad599aedf17cab734644ff0785741c54c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa80e31e8c9795f28c74bc943df4411cc"><td class="memItemLeft" align="right" valign="top">object_view&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#gaa80e31e8c9795f28c74bc943df4411cc">jsonv::value::as_object</a> ()&amp;</td></tr>
<tr class="memdesc:gaa80e31e8c9795f28c74bc943df4411cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">View this instance as an object.  <a href="#gaa80e31e8c9795f28c74bc943df4411cc">More...</a><br /></td></tr>
<tr class="separator:gaa80e31e8c9795f28c74bc943df4411cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2fd82a7be4f41cd55265226e2d3d2b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae2fd82a7be4f41cd55265226e2d3d2b9"></a>
const_object_view&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::as_object</b> () const &amp;</td></tr>
<tr class="separator:gae2fd82a7be4f41cd55265226e2d3d2b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab9121a691d21e33d03773489114cb623"><td class="memItemLeft" align="right" valign="top">value &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#gab9121a691d21e33d03773489114cb623">jsonv::value::operator[]</a> (const std::string &amp;key)</td></tr>
<tr class="memdesc:gab9121a691d21e33d03773489114cb623"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value associated with the given <em>key</em> of this object.  <a href="#gab9121a691d21e33d03773489114cb623">More...</a><br /></td></tr>
<tr class="separator:gab9121a691d21e33d03773489114cb623"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab75bdfc63eac5469201270cc682c01f5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab75bdfc63eac5469201270cc682c01f5"></a>
value &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::operator[]</b> (std::string &amp;&amp;key)</td></tr>
<tr class="separator:gab75bdfc63eac5469201270cc682c01f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa984752a5660abf8c5b75a5eae4a8787"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaa984752a5660abf8c5b75a5eae4a8787"></a>
value &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::operator[]</b> (const std::wstring &amp;key)</td></tr>
<tr class="separator:gaa984752a5660abf8c5b75a5eae4a8787"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2bf8ac39a2be8fc276f0a8937010036f"><td class="memItemLeft" align="right" valign="top">value &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#ga2bf8ac39a2be8fc276f0a8937010036f">jsonv::value::at</a> (const std::string &amp;key)</td></tr>
<tr class="memdesc:ga2bf8ac39a2be8fc276f0a8937010036f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the value associated with the given <em>key</em> of this object.  <a href="#ga2bf8ac39a2be8fc276f0a8937010036f">More...</a><br /></td></tr>
<tr class="separator:ga2bf8ac39a2be8fc276f0a8937010036f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac72f23dc489b369bc1aabbe1dada6e91"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac72f23dc489b369bc1aabbe1dada6e91"></a>
value &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::at</b> (const std::wstring &amp;key)</td></tr>
<tr class="separator:gac72f23dc489b369bc1aabbe1dada6e91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6d5edaa820b46cd1790eb051e53ae9a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gab6d5edaa820b46cd1790eb051e53ae9a"></a>
const value &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::at</b> (const std::string &amp;key) const </td></tr>
<tr class="separator:gab6d5edaa820b46cd1790eb051e53ae9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4ebc30e16e97c6527b6a5896d92229fb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga4ebc30e16e97c6527b6a5896d92229fb"></a>
const value &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::at</b> (const std::wstring &amp;key) const </td></tr>
<tr class="separator:ga4ebc30e16e97c6527b6a5896d92229fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7442b42d745e649222506080a05e3913"><td class="memItemLeft" align="right" valign="top">size_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#ga7442b42d745e649222506080a05e3913">jsonv::value::count</a> (const std::string &amp;key) const </td></tr>
<tr class="memdesc:ga7442b42d745e649222506080a05e3913"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the given <em>key</em> exists in this object.  <a href="#ga7442b42d745e649222506080a05e3913">More...</a><br /></td></tr>
<tr class="separator:ga7442b42d745e649222506080a05e3913"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga688036e8f48ba2932102a828f24847ea"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga688036e8f48ba2932102a828f24847ea"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::count</b> (const std::wstring &amp;key) const </td></tr>
<tr class="separator:ga688036e8f48ba2932102a828f24847ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga765ff56aa009ddea1a7360f0f9acb93a"><td class="memItemLeft" align="right" valign="top">object_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#ga765ff56aa009ddea1a7360f0f9acb93a">jsonv::value::find</a> (const std::string &amp;key)</td></tr>
<tr class="memdesc:ga765ff56aa009ddea1a7360f0f9acb93a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempt to locate a key-value pair with the provided <em>key</em> in this object.  <a href="#ga765ff56aa009ddea1a7360f0f9acb93a">More...</a><br /></td></tr>
<tr class="separator:ga765ff56aa009ddea1a7360f0f9acb93a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b361087e80453b622acd01635ecbdf3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga2b361087e80453b622acd01635ecbdf3"></a>
object_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::find</b> (const std::wstring &amp;key)</td></tr>
<tr class="separator:ga2b361087e80453b622acd01635ecbdf3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafbb3346e65eef447f22db3c9509f98f8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gafbb3346e65eef447f22db3c9509f98f8"></a>
const_object_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::find</b> (const std::string &amp;key) const </td></tr>
<tr class="separator:gafbb3346e65eef447f22db3c9509f98f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga68a4447bc99cd4db5b4f2737f289cd3b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga68a4447bc99cd4db5b4f2737f289cd3b"></a>
const_object_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::find</b> (const std::wstring &amp;key) const </td></tr>
<tr class="separator:ga68a4447bc99cd4db5b4f2737f289cd3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab1bb3e772366da9b594e58fdf8e8aa57"><td class="memItemLeft" align="right" valign="top">std::pair&lt; object_iterator, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#gab1bb3e772366da9b594e58fdf8e8aa57">jsonv::value::insert</a> (std::pair&lt; std::string, value &gt; pair)</td></tr>
<tr class="memdesc:gab1bb3e772366da9b594e58fdf8e8aa57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert <em>pair</em> into this object.  <a href="#gab1bb3e772366da9b594e58fdf8e8aa57">More...</a><br /></td></tr>
<tr class="separator:gab1bb3e772366da9b594e58fdf8e8aa57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga68760b7b1d088a1ae497bd59244e2574"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga68760b7b1d088a1ae497bd59244e2574"></a>
std::pair&lt; object_iterator, bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::insert</b> (std::pair&lt; std::wstring, value &gt; pair)</td></tr>
<tr class="separator:ga68760b7b1d088a1ae497bd59244e2574"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaabc202669d43c8031521c54e043f32f7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaabc202669d43c8031521c54e043f32f7"></a>
object_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::insert</b> (const_object_iterator hint, std::pair&lt; std::string, value &gt; pair)</td></tr>
<tr class="separator:gaabc202669d43c8031521c54e043f32f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab52175ecf9926215a0bb61657331d1f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaab52175ecf9926215a0bb61657331d1f"></a>
object_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::insert</b> (const_object_iterator hint, std::pair&lt; std::wstring, value &gt; pair)</td></tr>
<tr class="separator:gaab52175ecf9926215a0bb61657331d1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5b86bbeebd1d761d9a4598ee4baabe42"><td class="memTemplParams" colspan="2">template&lt;typename TForwardIterator &gt; </td></tr>
<tr class="memitem:ga5b86bbeebd1d761d9a4598ee4baabe42"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__Object.html#ga5b86bbeebd1d761d9a4598ee4baabe42">jsonv::value::insert</a> (TForwardIterator first, TForwardIterator last)</td></tr>
<tr class="memdesc:ga5b86bbeebd1d761d9a4598ee4baabe42"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert range defined by [<em>first</em>, <em>last</em>) into this object.  <a href="#ga5b86bbeebd1d761d9a4598ee4baabe42">More...</a><br /></td></tr>
<tr class="separator:ga5b86bbeebd1d761d9a4598ee4baabe42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7c7c41413bcfcfebde5f2968458fc725"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#ga7c7c41413bcfcfebde5f2968458fc725">jsonv::value::insert</a> (std::initializer_list&lt; std::pair&lt; std::string, value &gt;&gt; items)</td></tr>
<tr class="memdesc:ga7c7c41413bcfcfebde5f2968458fc725"><td class="mdescLeft">&#160;</td><td class="mdescRight">Insert <em>items</em> into this object.  <a href="#ga7c7c41413bcfcfebde5f2968458fc725">More...</a><br /></td></tr>
<tr class="separator:ga7c7c41413bcfcfebde5f2968458fc725"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga16aac07d87f888a7c1d48a9be799c65f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga16aac07d87f888a7c1d48a9be799c65f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::insert</b> (std::initializer_list&lt; std::pair&lt; std::wstring, value &gt;&gt; items)</td></tr>
<tr class="separator:ga16aac07d87f888a7c1d48a9be799c65f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae5ee259b187051fa86ec1980c05408f5"><td class="memItemLeft" align="right" valign="top">size_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#gae5ee259b187051fa86ec1980c05408f5">jsonv::value::erase</a> (const std::string &amp;key)</td></tr>
<tr class="memdesc:gae5ee259b187051fa86ec1980c05408f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Erase the item with the given <em>key</em>.  <a href="#gae5ee259b187051fa86ec1980c05408f5">More...</a><br /></td></tr>
<tr class="separator:gae5ee259b187051fa86ec1980c05408f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac30ef969e4c00c9f8f959e9d30be509c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gac30ef969e4c00c9f8f959e9d30be509c"></a>
size_type&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::value::erase</b> (const std::wstring &amp;key)</td></tr>
<tr class="separator:gac30ef969e4c00c9f8f959e9d30be509c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3524ccad9a4188014c507454ca38fc8f"><td class="memItemLeft" align="right" valign="top">object_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#ga3524ccad9a4188014c507454ca38fc8f">jsonv::value::erase</a> (const_object_iterator position)</td></tr>
<tr class="memdesc:ga3524ccad9a4188014c507454ca38fc8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Erase the item at the given <em>position</em>.  <a href="#ga3524ccad9a4188014c507454ca38fc8f">More...</a><br /></td></tr>
<tr class="separator:ga3524ccad9a4188014c507454ca38fc8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadff0cf180eac1aaa3e95972a4a1671ab"><td class="memItemLeft" align="right" valign="top">object_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Object.html#gadff0cf180eac1aaa3e95972a4a1671ab">jsonv::value::erase</a> (const_object_iterator first, const_object_iterator last)</td></tr>
<tr class="memdesc:gadff0cf180eac1aaa3e95972a4a1671ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Erase the range defined by [<em>first</em>, <em>last</em>).  <a href="#gadff0cf180eac1aaa3e95972a4a1671ab">More...</a><br /></td></tr>
<tr class="separator:gadff0cf180eac1aaa3e95972a4a1671ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>The base iterator type for iterating over object types. </p>
<p>These functions are only applicable if the kind of this value is an object.</p>
<p>It is a bidirectional iterator similar to a <code>std::map&lt;std::string, jsonv::value&gt;</code>. </p>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga318c2006b4bc53859c444604995ebc05"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef basic_object_iterator&lt;object_value_type, std::map&lt;std::string, value&gt;::iterator&gt; <a class="el" href="group__Object.html#ga318c2006b4bc53859c444604995ebc05">jsonv::value::object_iterator</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The <code>object_iterator</code> is applicable when <code>kind</code> is <code>kind::object</code>. </p>
<p>It allows you to use algorithms as if a <code>value</code> was a normal associative container. </p>

<p>Definition at line <a class="el" href="value_8hpp_source.html#l00407">407</a> of file <a class="el" href="value_8hpp_source.html">value.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="gabf0673825595a5326e65544af770b4dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::pair&lt;const std::string, value&gt; <a class="el" href="group__Object.html#gabf0673825595a5326e65544af770b4dd">jsonv::value::object_value_type</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The type of value stored when <code>kind</code> is <code>kind::object</code>. </p>

<p>Definition at line <a class="el" href="value_8hpp_source.html#l00402">402</a> of file <a class="el" href="value_8hpp_source.html">value.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="ga39d2820f80eac817a14d5e129de46449"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef detail::basic_view&lt;object_iterator, const_object_iterator&gt; <a class="el" href="group__Object.html#ga39d2820f80eac817a14d5e129de46449">jsonv::value::object_view</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If <code>kind</code> is <code>kind::object</code>, an <code>object_view</code> allows you to access a value as an associative container. </p>
<p>This is most useful for range-based for loops. </p>

<p>Definition at line <a class="el" href="value_8hpp_source.html#l00413">413</a> of file <a class="el" href="value_8hpp_source.html">value.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gaa80e31e8c9795f28c74bc943df4411cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">object_view jsonv::value::as_object </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>View this instance as an object. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga2bf8ac39a2be8fc276f0a8937010036f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">value&amp; jsonv::value::at </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value associated with the given <em>key</em> of this object. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
    <tr><td class="paramname">std::out_of_range</td><td>if the <em>key</em> is not in this object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gacf1294913abd859ce337eac45c6d7426"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">object_iterator jsonv::value::begin_object </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get an iterator to the first key-value pair in this object. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga7442b42d745e649222506080a05e3913"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_type jsonv::value::count </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check if the given <em>key</em> exists in this object. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga4575cef7e4195a25eeba35a7f15b2fbd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">object_iterator jsonv::value::end_object </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get an iterator to the one past the end of this object. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gae5ee259b187051fa86ec1980c05408f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_type jsonv::value::erase </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Erase the item with the given <em>key</em>. </p>
<dl class="section return"><dt>Returns</dt><dd>1 if <em>key</em> was erased; 0 if it did not. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga3524ccad9a4188014c507454ca38fc8f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">object_iterator jsonv::value::erase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structjsonv_1_1value_1_1basic__object__iterator.html">const_object_iterator</a>&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Erase the item at the given <em>position</em>. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gadff0cf180eac1aaa3e95972a4a1671ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">object_iterator jsonv::value::erase </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structjsonv_1_1value_1_1basic__object__iterator.html">const_object_iterator</a>&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structjsonv_1_1value_1_1basic__object__iterator.html">const_object_iterator</a>&#160;</td>
          <td class="paramname"><em>last</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Erase the range defined by [<em>first</em>, <em>last</em>). </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga765ff56aa009ddea1a7360f0f9acb93a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">object_iterator jsonv::value::find </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Attempt to locate a key-value pair with the provided <em>key</em> in this object. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gab1bb3e772366da9b594e58fdf8e8aa57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::pair&lt;object_iterator, bool&gt; jsonv::value::insert </td>
          <td>(</td>
          <td class="paramtype">std::pair&lt; std::string, <a class="el" href="classjsonv_1_1value.html">value</a> &gt;&#160;</td>
          <td class="paramname"><em>pair</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Insert <em>pair</em> into this object. </p>
<p>If <em>hint</em> is provided, this insertion could be optimized.</p>
<dl class="section return"><dt>Returns</dt><dd>A pair whose <code>first</code> refers to the newly-inserted element (or the element which shares the key). </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ga5b86bbeebd1d761d9a4598ee4baabe42"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename TForwardIterator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void jsonv::value::insert </td>
          <td>(</td>
          <td class="paramtype">TForwardIterator&#160;</td>
          <td class="paramname"><em>first</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TForwardIterator&#160;</td>
          <td class="paramname"><em>last</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Insert range defined by [<em>first</em>, <em>last</em>) into this object. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="value_8hpp_source.html#l00884">884</a> of file <a class="el" href="value_8hpp_source.html">value.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="ga7c7c41413bcfcfebde5f2968458fc725"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void jsonv::value::insert </td>
          <td>(</td>
          <td class="paramtype">std::initializer_list&lt; std::pair&lt; std::string, <a class="el" href="classjsonv_1_1value.html">value</a> &gt;&gt;&#160;</td>
          <td class="paramname"><em>items</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Insert <em>items</em> into this object. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="gab9121a691d21e33d03773489114cb623"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">value&amp; jsonv::value::operator[] </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>key</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the value associated with the given <em>key</em> of this object. </p>
<p>If the <em>key</em> does not exist, it will be created.</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1kind__error.html" title="Thrown from various value methods when attempting to perform an operation which is not valid for the ...">kind_error</a></td><td>if the kind is not an object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.7 </li>
  </ul>
</div>
</body>
</html>
